An electronic device comprising: a substantially circular or oval display ; a processor configured to generate an image; a display driving unit comprising a gate driver , a source driver , a graphics random access memory, GRAM , a GRAM controller for controlling the GRAM , an image processor and a flag generator , wherein the display driving unit is configured to: receive the image from the processor , and determine, based on information corresponding to a shape of the display , a display area and a non-display area of the image, characterized in that the display driving unit is further configured to: generate, by the flag generator , flag information corresponding to the shape of the display and provide the flag information to the GRAM controller , wherein the flag information indicates the display area and the non-display area of the image; deactivate, based on the flag information, at least one of a part of the GRAM controller for controlling an access to data of the non-display area stored in the GRAM and a part of the image processor for processing the data of the non-display area, and control the display to display data of the display area, wherein the data of the non-display area is not displayed. a substantially circular or oval display ; a processor configured to generate an image; a display driving unit comprising a gate driver , a source driver , a graphics random access memory, GRAM , a GRAM controller for controlling the GRAM , an image processor and a flag generator , wherein the display driving unit is configured to: receive the image from the processor , and determine, based on information corresponding to a shape of the display , a display area and a non-display area of the image, characterized in that the display driving unit is further configured to: generate, by the flag generator , flag information corresponding to the shape of the display and provide the flag information to the GRAM controller , wherein the flag information indicates the display area and the non-display area of the image; deactivate, based on the flag information, at least one of a part of the GRAM controller for controlling an access to data of the non-display area stored in the GRAM and a part of the image processor for processing the data of the non-display area, and control the display to display data of the display area, wherein the data of the non-display area is not displayed. receive the image from the processor , and determine, based on information corresponding to a shape of the display , a display area and a non-display area of the image, characterized in that the display driving unit is further configured to: generate, by the flag generator , flag information corresponding to the shape of the display and provide the flag information to the GRAM controller , wherein the flag information indicates the display area and the non-display area of the image; deactivate, based on the flag information, at least one of a part of the GRAM controller for controlling an access to data of the non-display area stored in the GRAM and a part of the image processor for processing the data of the non-display area, and control the display to display data of the display area, wherein the data of the non-display area is not displayed. generate, by the flag generator , flag information corresponding to the shape of the display and provide the flag information to the GRAM controller , wherein the flag information indicates the display area and the non-display area of the image; deactivate, based on the flag information, at least one of a part of the GRAM controller for controlling an access to data of the non-display area stored in the GRAM and a part of the image processor for processing the data of the non-display area, and control the display to display data of the display area, wherein the data of the non-display area is not displayed. <EOS>